package acm;

import java.util.Scanner;

public class a2 {
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int r = in.nextInt();
        double pi=Math.PI;
        double s = pi*(r*r);
        System.out.printf("%.7f",s);
    }
}
